from zope.interface import Interface
# -*- Additional Imports Here -*-
from zope import schema

from my315ok.xtinfocontent import xtinfocontentMessageFactory as _


class Ibuilding(Interface):
    """publish information of the building for sales"""

    # -*- schema definition goes here -*-
    name = schema.TextLine(
        title=_(u"build name"),
        required=True,
        description=_(u""),
    )
#
    district = schema.TextLine(
        title=_(u"build locate at district"),
        required=False,
        description=_(u""),
    )
#
    types = schema.TextLine(
        title=_(u"rooms type"),
        required=False,
        description=_(u""),
    )
#
    decorations = schema.TextLine(
        title=_(u"decoration status"),
        required=False,
        description=_(u""),
    )
#
    bdeveloper = schema.TextLine(
        title=_(u"build developer"),
        required=False,
        description=_(u""),
    )
#
    cert = schema.Bytes(
        title=_(u"certification for sale"),
        required=False,
        description=_(u""),
    )
#
    traffic = schema.TextLine(
        title=_(u"traffic"),
        required=False,
        description=_(u""),
    )
#
    baddr = schema.TextLine(
        title=_(u"address of build"),
        required=False,
        description=_(u""),
    )
#
    saddr = schema.TextLine(
        title=_(u"address for sales"),
        required=False,
        description=_(u""),
    )
#
